package com.javaclimb.music.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.javaclimb.music.domain.Consumer;
import com.javaclimb.music.utils.PageUtils;

import java.util.Map;

public interface ConsumerService extends IService<Consumer> {


    /**
     * 验证密码
     *
     * @return
     */
    Consumer verifyPassword(String username, String password);

    /**
     * 根据用户名获得用户
     */
    Consumer getByUsername(String username);

    PageUtils queryPage(Map<String, Object> params);
}
